package com.ssy.lingxi.platform.template.service.model.qo;

import com.ssy.lingxi.common.model.vo.PageVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 活动页 - QO
 * @author fhj
 * @date 2021/08/06
 * @version 2.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ActivityPageQO extends PageVO {
    private static final long serialVersionUID = 9090064708039097952L;

    @NotNull(message = "类型不能为空")
    @ApiModelProperty(value = "类型: 1.平台 2.商家")
    private Integer type;

    @ApiModelProperty(value = "活动页名称")
    private String name;

    @ApiModelProperty(value = "开始时间")
    private Long startTime;

    @ApiModelProperty(value = "结束时间")
    private Long endTime;

    @ApiModelProperty(value = "适用环境: 1.WEB 2.H5 3.小程序 4.APP")
    private Integer environment;

    @ApiModelProperty(value = "状态: 1.待上线 2.已上线 3.进行中 4.已下线 5.已结束")
    private Integer status;

    @ApiModelProperty(value = "商城ID")
    private Long shopId;
}
